home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / windows5 / xwinc100.zip / CONTRIB-.00 / CONTRIB- / contrib / examples / PEX / Imakefile < prev    next >
Makefile  |  1991-07-26  |  7KB  |  179 lines

  1. ##
  2. # $XConsortium: Imakefile,v 5.6 91/07/26 11:43:14 hersh Exp $
  3. ##
  4. ## 
  5. ## Copyright (c) 1991 by Sun Microsystems, Inc. and the X Consortium.
  6. ## 
  7. ##                         All Rights Reserved
  8. ## 
  9. ## Permission to use, copy, modify, and distribute this software and its 
  10. ## documentation for any purpose and without fee is hereby granted, 
  11. ## provided that the above copyright notice appear in all copies and that
  12. ## both that copyright notice and this permission notice appear in 
  13. ## supporting documentation, and that the names of Sun Microsystems,
  14. ## the X Consortium, and MIT not be used in advertising or publicity 
  15. ## pertaining to distribution of the software without specific, written 
  16. ## prior permission.  
  17. ## 
  18. ## SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 
  19. ## INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
  20. ## EVENT SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  21. ## CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
  22. ## USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  23. ## OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  24. ## PERFORMANCE OF THIS SOFTWARE.
  25.  
  26.  
  27. #ifndef PexClientCDebugFlags
  28. #define PexClientCDebugFlags OptimizedCDebugFlags
  29. #endif
  30.  
  31. #ifndef PexClientDefines
  32. #define PexClientDefines -DPEX_SI_PHIGS 
  33. #endif
  34.  
  35.     CDEBUGFLAGS = PexClientCDebugFlags
  36.         DEFINES = PexClientDefines -DPEX_SI_PHIGS
  37.        INCLUDES = -I$(INCDIR)
  38. LOCAL_LIBRARIES = $(PHIGSLIB) $(XLIB)
  39.   SYS_LIBRARIES = -lm
  40.         DEPLIBS = $(DEPPHIGSLIB) $(DEPXLIB)
  41.  
  42.           SRCS1 = hello_tool.c
  43.           OBJS1 = hello_tool.o
  44.          PROGS1 = hello_tool
  45.           SRCS2 = hello_draw.c
  46.           OBJS2 = hello_draw.o
  47.          PROGS2 = hello_draw
  48.           SRCS3 = test_sss.c cr_struct.c rd_struct.c
  49.           OBJS3 = test_sss.o cr_struct.o rd_struct.o
  50.          PROGS3 = test_sss cr_struct rd_struct
  51.  
  52.  
  53.           SRCS5 = wheels.c
  54.           OBJS5 = wheels.o
  55.          PROGS5 = wheels
  56.           SRCS6 = line_bund.c
  57.           OBJS6 = line_bund.o
  58.          PROGS6 = line_bund
  59.  
  60.           SRCS9 = viewing.c
  61.           OBJS9 = viewing.o
  62.          PROGS9 = viewing
  63.  
  64.           SRCS12 = sun_logo.c
  65.           OBJS12 = sun_logo.o
  66.          PROGS12 = sun_logo
  67.           SRCS14 = text.c
  68.           OBJS14 = text.o
  69.          PROGS14 = text
  70.           SRCS15 = six_views.c
  71.           OBJS15 = six_views.o
  72.          PROGS15 = six_views
  73.           SRCS16 = stroke.c
  74.           OBJS16 = stroke.o
  75.          PROGS16 = stroke
  76.           SRCS17 = five_views.c
  77.           OBJS17 = five_views.o
  78.          PROGS17 = five_views
  79.           SRCS18 = map_points.c
  80.           OBJS18 = map_points.o
  81.          PROGS18 = map_points
  82.           SRCS19 = linesmarks.c
  83.           OBJS19 = linesmarks.o
  84.          PROGS19 = linesmarks
  85.  
  86.           SRCS20 = cell_array.c
  87.           OBJS20 = cell_array.o
  88.          PROGS20 = cell_array
  89.           SRCS21 = clippolygon.c
  90.           OBJS21 = clippolygon.o
  91.          PROGS21 = clippolygon
  92.           SRCS22 = curve.c
  93.           OBJS22 = curve.o
  94.          PROGS22 = curve
  95.           SRCS23 = multisurf.c
  96.           OBJS23 = multisurf.o
  97.          PROGS23 = multisurf
  98.           SRCS24 = sofa.c
  99.           OBJS24 = sofa.o
  100.          PROGS24 = sofa
  101.           SRCS25 = surface.c
  102.           OBJS25 = surface.o
  103.          PROGS25 = surface
  104.           SRCS26 = tristrip2.c
  105.           OBJS26 = tristrip2.o
  106.          PROGS26 = tristrip2
  107.           SRCS27 = tristrip.c
  108.           OBJS27 = tristrip.o
  109.          PROGS27 = tristrip
  110.  
  111.           SRCS30 = picktest.c
  112.           OBJS30 = picktest.o
  113.          PROGS30 = picktest
  114.           SRCS31 = pickmore.c
  115.           OBJS31 = pickmore.o
  116.          PROGS31 = pickmore
  117.           SRCS32 = pickplus.c
  118.           OBJS32 = pickplus.o
  119.          PROGS32 = pickplus
  120.  
  121.             SRCS = $(SRCS1) $(SRCS2) $(SRCS3) \
  122.             $(SRCS5) $(SRCS6) \
  123.             $(SRCS9) $(SRCS12) \
  124.             $(SRCS14) $(SRCS15) $(SRCS16) $(SRCS17) $(SRCS18) \
  125.             $(SRCS19) $(SRCS20) $(SRCS21) $(SRCS22) $(SRCS23) \
  126.             $(SRCS24) $(SRCS25) $(SRCS26) $(SRCS27) \
  127.             $(SRCS30) $(SRCS31) $(SRCS32) $(SRC_TEST_SSS)
  128.  
  129.             OBJS = $(OBJS1) $(OBJS2) $(OBJS3) \
  130.             $(OBJS5) $(OBJS6) \
  131.             $(OBJS9) $(OBJS12) \
  132.             $(OBJS14) $(OBJS15) $(OBJS16) $(OBJS17) $(OBJS18) \
  133.             $(OBJS19) $(OBJS20) $(OBJS21) $(OBJS22) $(OBJS23) \
  134.             $(OBJS24) $(OBJS25) $(OBJS26) $(OBJS27) \
  135.             $(OBJS30) $(OBJS31) $(OBJS32) $(OBJ_TEST_SSS)
  136.  
  137.         PROGRAMS = $(PROGS1) $(PROGS2) $(PROGS3) \
  138.             $(PROGS5) $(PROGS6) \
  139.             $(PROGS9) $(PROGS12) \
  140.             $(PROGS14) $(PROGS15) $(PROGS16) $(PROGS17) $(PROGS18) \
  141.             $(PROGS19) $(PROGS20) $(PROGS21) $(PROGS22) $(PROGS23) \
  142.             $(PROGS24) $(PROGS25) $(PROGS26) $(PROGS27) \
  143.             $(PROGS30) $(PROGS31) $(PROGS32) $(PROGS_TEST_SSS)
  144.  
  145. AllTarget( $(PROGRAMS) )
  146.  
  147. NormalProgramTarget($(PROGS1), $(OBJS1), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  148. NormalProgramTarget($(PROGS2), $(OBJS2), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  149. NormalProgramTarget($(PROGS3), $(OBJS3), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  150.  
  151. NormalProgramTarget($(PROGS5), $(OBJS5), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  152. NormalProgramTarget($(PROGS6), $(OBJS6), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  153.  
  154. NormalProgramTarget($(PROGS9), $(OBJS9), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  155.  
  156. NormalProgramTarget($(PROGS12), $(OBJS12), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  157. NormalProgramTarget($(PROGS14), $(OBJS14), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  158. NormalProgramTarget($(PROGS15), $(OBJS15), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  159. NormalProgramTarget($(PROGS16), $(OBJS16), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  160. NormalProgramTarget($(PROGS17), $(OBJS17), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  161. NormalProgramTarget($(PROGS18), $(OBJS18), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  162. NormalProgramTarget($(PROGS19), $(OBJS19), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  163.  
  164. NormalProgramTarget($(PROGS20), $(OBJS20), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  165. NormalProgramTarget($(PROGS21), $(OBJS21), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  166. NormalProgramTarget($(PROGS22), $(OBJS22), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  167. NormalProgramTarget($(PROGS23), $(OBJS23), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  168. NormalProgramTarget($(PROGS24), $(OBJS24), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  169. NormalProgramTarget($(PROGS25), $(OBJS25), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  170. NormalProgramTarget($(PROGS26), $(OBJS26), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  171. NormalProgramTarget($(PROGS27), $(OBJS27), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  172.  
  173. NormalProgramTarget($(PROGS30), $(OBJS30), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  174. NormalProgramTarget($(PROGS31), $(OBJS31), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  175. NormalProgramTarget($(PROGS32), $(OBJS32), $(DEPLIBS), $(LOCAL_LIBRARIES), $(SYS_LIBRARIES))
  176.  
  177.  
  178. DependTarget()
  179.